home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / network / ka9q / nhclb120.zoo / makefile.stg < prev    next >
Makefile  |  1992-08-20  |  8KB  |  156 lines

  1. #
  2. #    Makefile for KA9Q TCP/IP package for Atari ST
  3. #                    Using GCC
  4.  
  5. TAR = gnutar
  6. CC=gcc
  7. STRIP = gcc-strip
  8. #
  9. # Add -DXOBBS to the CFLAGS line of choice if you wish to include the W2XO
  10. # PBBS code for sysV Unix... and add -DSID2 if you want a separate 
  11. # 'ax25 bbscall' callsign/ssid for the BBS port.
  12. #
  13.  
  14. CFLAGS =  -O -DATARI_ST -DGNUC -DSCREEN -DSLOWCHECK
  15.  
  16.  
  17.  
  18. ########################################################################
  19.  
  20. SRCS =    main.c arp.c arpcmd.c arpdump.c ax25.c ax25cmd.c \
  21.     ax25dump.c ax25subr.c ax25user.c ax_mbx.c cmdparse.c  bootp.c \
  22.     domain.c displayn.c dirutil.c\
  23.     files.c fingcli.c fingserv.c ftp.c ftpcli.c ftpserv.c icmp.c \
  24.     icmpcmd.c icmpdump.c icmpmsg.c iface.c ip.c ipcmd.c ipdump.c \
  25.     iproute.c kiss.c lapb.c lapbtime.c lcsum.c mbuf.c misc.c mulport.c \
  26.     myopen.c \
  27.     netuser.c nrcmd.c nrs.c nr3.c nrsubr.c nr4.c nr4subr.c \
  28.     nr4user.c nr4timer.c pathname.c rdate.c session.c slfp.c \
  29.     slhc.c slip.c smisc.c \
  30.     smtpcli.c smtpserv.c st.c tcpcmd.c tcpdump.c \
  31.     tcpin.c tcpout.c tcpsubr.c tcptimer.c tcpuser.c telnet.c \
  32.     timer.c tnserv.c trace.c ttydriv.c udp.c udpcmd.c \
  33.     udpdump.c version.c wildmat.c xfree.c
  34.  
  35.  
  36.  
  37. OBJS =    main.o arp.o arpcmd.o arpdump.o ax25.o ax25cmd.o \
  38.     ax25dump.o ax25subr.o ax25user.o ax_mbx.o cmdparse.o  bootp.o \
  39.     domain.o displayn.o dirutil.o\
  40.     files.o fingcli.o fingserv.o ftp.o ftpcli.o ftpserv.o icmp.o \
  41.     icmpcmd.o icmpdump.o icmpmsg.o iface.o ip.o ipcmd.o ipdump.o \
  42.     iproute.o kiss.o lapb.o lapbtime.o lcsum.o mbuf.o misc.o mulport.o \
  43.     myopen.o \
  44.     netuser.o nrcmd.o nrs.o nr3.o nrsubr.o nr4.o nr4subr.o \
  45.     nr4user.o nr4timer.o pathname.o rdate.o session.o slfp.o \
  46.     slhc.o slip.o smisc.o \
  47.     smtpcli.o smtpserv.o st.o tcpcmd.o tcpdump.o \
  48.     tcpin.o tcpout.o tcpsubr.o tcptimer.o tcpuser.o telnet.o \
  49.     timer.o tnserv.o trace.o ttydriv.o udp.o udpcmd.o \
  50.     udpdump.o version.o wildmat.o xfree.c
  51.  
  52. net:    $(OBJS)
  53.     $(CC) $(CFLAGS) -o net.debug $(OBJS) $(LIBS)
  54.     cp net.debug net
  55.     $(STRIP) net
  56.  
  57. lint:    $(SRCS)
  58.     rm -f *.ln
  59.     $(LINT) -c $(LINTFLAGS) $(SRCS) > lint.out 2>&1
  60.     $(LINT) $(LINTFLAGS) *.ln > lint2.out 2>&1
  61.     rm *.ln
  62.  
  63. # make depend won't work on the ST ?   Use unix
  64. depend: 
  65.     ( for i in $(SRCS) ; do makelist -r $$i ; done) > depend.st
  66.  
  67. test_tick:    test_tick.c
  68.     $(CC) -o test_tick test_tick.c $(LIBS)
  69.  
  70. clean:
  71.     rm -f *.o *.ln lint.out lint2.out net net.debug test_tick
  72. tar:
  73.     $(TAR) cvf svnet.tar make* mkdep depend.out hosts.net ftpusers \
  74.         startup.net *.[hc] *.orig *.ori
  75.     compress -f svnet.tar
  76.  
  77.  
  78.  
  79. # need to make depend.out for the st
  80. #.include depend.out
  81. main.o: main.c config.h global.h mbuf.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ax25.h netrom.h ftp.h telnet.h remote.h session.h cmdparse.h asy.h slip.h nrs.h slfp.h unix.h amiga.h mac.h st.h trace.h
  82. arp.o: arp.c global.h mbuf.h timer.h iface.h enet.h ax25.h arp.h
  83. arpcmd.o: arpcmd.c global.h mbuf.h timer.h enet.h ax25.h arp.h cmdparse.h
  84. arpdump.o: arpdump.c global.h mbuf.h timer.h arp.h ax25.h
  85. ax25.o: ax25.c config.h global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h lapb.h heard.h
  86. ax25cmd.o: ax25cmd.c global.h config.h mbuf.h ax25.h ax_mbx.h timer.h netuser.h ftp.h tcp.h telnet.h iface.h lapb.h finger.h cmdparse.h session.h nr4.h heard.h
  87. ax25dump.o: ax25dump.c global.h mbuf.h ax25.h timer.h lapb.h trace.h
  88. ax25subr.o: ax25subr.c global.h mbuf.h timer.h ax25.h lapb.h netuser.h ftp.h telnet.h iface.h finger.h
  89. ax25user.o: ax25user.c global.h mbuf.h timer.h iface.h ax25.h lapb.h
  90. ax_mbx.o: ax_mbx.c global.h config.h mbuf.h ax25.h timer.h lapb.h cmdparse.h iface.h netrom.h nr4.h ax_mbx.h
  91. cmdparse.o: cmdparse.c global.h cmdparse.h
  92. bootp.o: bootp.c global.h mbuf.h netuser.h timer.h udp.h iface.h ip.h internet.h cmdparse.h bootp.h
  93. domain.o: domain.c global.h mbuf.h netuser.h timer.h udp.h cmdparse.h domain.h
  94. displayn.o: displayn.c global.h config.h
  95. dirutil.o: dirutil.c global.h
  96. files.o: files.c global.h config.h
  97. fingcli.o: fingcli.c config.h global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h ftp.h telnet.h iface.h ax25.h lapb.h finger.h session.h nr4.h
  98. fingserv.o: fingserv.c global.h config.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h ftp.h telnet.h iface.h ax25.h lapb.h finger.h session.h nr4.h
  99. ftp.o: ftp.c global.h config.h mbuf.h netuser.h timer.h tcp.h ftp.h telnet.h iface.h ax25.h lapb.h finger.h session.h nr4.h
  100. ftpcli.o: ftpcli.c fcntl.h global.h config.h mbuf.h netuser.h icmp.h timer.h tcp.h ftp.h session.h cmdparse.h telnet.h iface.h ax25.h lapb.h finger.h nr4.h
  101. ftpserv.o: ftpserv.c global.h config.h mbuf.h netuser.h timer.h tcp.h ftp.h telnet.h iface.h ax25.h lapb.h finger.h session.h nr4.h unix.h
  102. icmp.o: icmp.c global.h mbuf.h internet.h timer.h iface.h ip.h icmp.h
  103. icmpcmd.o: icmpcmd.c global.h icmp.h mbuf.h netuser.h internet.h timer.h ping.h
  104. icmpdump.o: icmpdump.c global.h mbuf.h internet.h icmp.h trace.h
  105. icmpmsg.o: icmpmsg.c global.h
  106. iface.o: iface.c global.h iface.h
  107. ip.o: ip.c global.h mbuf.h timer.h internet.h iface.h ip.h icmp.h
  108. ipcmd.o: ipcmd.c global.h mbuf.h internet.h timer.h netuser.h iface.h ip.h cmdparse.h
  109. ipdump.o: ipdump.c global.h mbuf.h internet.h timer.h iface.h ip.h trace.h netuser.h
  110. iproute.o: iproute.c global.h mbuf.h internet.h timer.h netuser.h ip.h icmp.h iface.h trace.h
  111. kiss.o: kiss.c global.h mbuf.h iface.h kiss.h trace.h
  112. lapb.o: lapb.c global.h mbuf.h timer.h ax25.h lapb.h iface.h
  113. lapbtime.o: lapbtime.c global.h config.h mbuf.h ax25.h timer.h netuser.h session.h ftp.h telnet.h iface.h finger.h lapb.h
  114. lcsum.o: lcsum.c global.h
  115. mbuf.o: mbuf.c global.h mbuf.h
  116. misc.o: misc.c global.h
  117. mulport.o: mulport.c config.h global.h mbuf.h iface.h ax25.h
  118. myopen.o: myopen.c
  119. netuser.o: netuser.c unix.h global.h netuser.h
  120. nrcmd.o: nrcmd.c global.h config.h mbuf.h ax25.h timer.h iface.h lapb.h netrom.h nr4.h netuser.h tcp.h ftp.h telnet.h finger.h ax_mbx.h cmdparse.h session.h
  121. nrs.o: nrs.c global.h mbuf.h iface.h ax25.h nrs.h asy.h trace.h
  122. nr3.o: nr3.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h netrom.h nr4.h lapb.h
  123. nrsubr.o: nrsubr.c global.h mbuf.h timer.h ax25.h netrom.h lapb.h
  124. nr4.o: nr4.c global.h mbuf.h timer.h ax25.h lapb.h netrom.h nr4.h
  125. nr4subr.o: nr4subr.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h lapb.h
  126. nr4user.o: nr4user.c global.h mbuf.h timer.h ax25.h lapb.h netrom.h nr4.h
  127. nr4timer.o: nr4timer.c global.h mbuf.h timer.h ax25.h lapb.h netrom.h nr4.h
  128. pathname.o: pathname.c global.h
  129. rdate.o: rdate.c global.h mbuf.h netuser.h timer.h udp.h iface.h ip.h internet.h cmdparse.h
  130. session.o: session.c global.h config.h mbuf.h netuser.h timer.h tcp.h ax25.h lapb.h iface.h ftp.h telnet.h finger.h netrom.h nr4.h session.h cmdparse.h
  131. slfp.o: slfp.c config.h global.h mbuf.h iface.h timer.h ip.h slfp.h unix.h asy.h 8250.h trace.h
  132. slhc.o: slhc.c global.h mbuf.h timer.h internet.h netuser.h ip.h tcp.h slhc.h
  133. slip.o: slip.c config.h global.h mbuf.h netuser.h timer.h iface.h ax25.h ip.h tcp.h slhc.h slip.h asy.h trace.h
  134. smisc.o: smisc.c global.h mbuf.h netuser.h timer.h tcp.h remote.h
  135. smtpcli.o: smtpcli.c global.h netuser.h mbuf.h timer.h tcp.h smtp.h trace.h cmdparse.h
  136. smtpserv.o: smtpserv.c global.h mbuf.h netuser.h timer.h tcp.h smtp.h
  137. st.o: st.c global.h config.h mbuf.h internet.h iface.h st.h cmdparse.h asy.h dos.h osbind.h
  138. tcpcmd.o: tcpcmd.c global.h timer.h mbuf.h netuser.h internet.h tcp.h cmdparse.h
  139. tcpdump.o: tcpdump.c global.h mbuf.h netuser.h internet.h timer.h tcp.h trace.h
  140. tcpin.o: tcpin.c global.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h iface.h ip.h
  141. tcpout.o: tcpout.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  142. tcpsubr.o: tcpsubr.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  143. tcptimer.o: tcptimer.c global.h mbuf.h timer.h netuser.h internet.h tcp.h
  144. tcpuser.o: tcpuser.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
  145. telnet.o: telnet.c config.h global.h mbuf.h timer.h icmp.h netuser.h tcp.h telnet.h session.h ftp.h iface.h ax25.h lapb.h finger.h nr4.h
  146. timer.o: timer.c global.h timer.h
  147. tnserv.o: tnserv.c global.h config.h mbuf.h timer.h icmp.h netuser.h tcp.h telnet.h session.h ftp.h iface.h ax25.h lapb.h finger.h nr4.h
  148. trace.o: trace.c global.h config.h mbuf.h iface.h trace.h session.h
  149. ttydriv.o: ttydriv.c config.h global.h session.h
  150. udp.o: udp.c global.h mbuf.h netuser.h udp.h internet.h
  151. u